package com.cq.hd.product.api.dto;

import com.cq.hd.common.pagination.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class IndexActivePageDto extends PageDto implements Serializable {

    @ApiModelProperty(value = "一级经纪人id")
    private Long agent1Id = 0L;

    @ApiModelProperty(value = "二级经纪人id")
    private Long agent2Id = 0L;

    @ApiModelProperty(value = "二级经纪人跟一级经纪人的佣金比例（%）")
    private BigDecimal subAgentCommissionRate = BigDecimal.valueOf(0);

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "类型：1-订阅，2-推荐，3-最新，4-推广")
    private Integer type;

    @ApiModelProperty(value = "排序：1-销量，2-最新。type = 4 的时候有效")
    private Integer sortType;

    @ApiModelProperty(value = "定位城市名称(类型=2推荐传)")
    private String cityName;

    @ApiModelProperty(value = "活动标题")
    private String activeTitle;

    //    @ApiModelProperty(value = "订阅商家id集合")
    private List<Long> subscribeBusinessIds;

    //    @ApiModelProperty(value = "经纪人可分销的商家集合")
    private List<Long> agentBusinessIds;

//    @ApiModelProperty(value = "活动状态（1-未发布，2-未开始，3-进行中，4-已结束）")
    private List<Integer> activeStates;

    private String nowTime;

    private String releaseTimeStart;

    private String releaseTimeEnd;

    private Integer agentState;

    private List<Long> excludeBusinessIds;

}
